<template>
        <el-card :body-style="{ padding: '0 1rem' }" shadow="never">
             <scEcharts :height="height" width='100%' :option="echartsData"></scEcharts >
      </el-card>
</template>

<script>
import scEcharts from '@/components/scEcharts'
// import * as echarts from "echarts";
export default {
      props:{
        echartsData:{type:Object,default: ()=>{}},
        height:{ type: String, default: '300px' },
    },
  data(){
      return{
      }
    },
    components:{
        scEcharts
    },
    methods:{

    }
}
</script>

<style scoped>
</style>